repo: Improve error handling in sign_data()
authorMatthew Barnes <mbarnes@redhat.com>
Wed, 8 Apr 2015 18:50:55 +0000 (14:50 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Thu, 16 Apr 2015 22:12:58 +0000 (18:12 -0400)
commitd0770e9993cf2f98860b4166a466b4d3ab0f64fc
treeffe940b21f863eff1aa52988d0734e63d972889a
parentab15eafe56fc4e237010a967a31740558a493ab8
repo: Improve error handling in sign_data()

Use _ostree_gpg_error_to_gio_error() so the actual GPG error message is
included in the GError.  Then apply an "Unable to blah: " message prefix.
src/libostree/ostree-repo.c